package cn.acmsmu.shiro.test.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @desc:
 * @author: huangzhiyuan
 * @createDate: 2023/5/21 16:38
 * @modify:
 */
public interface SysRoleMapper {

    List<Integer> findRoleIdsByUserId(@Param("userId") Long userId);

    List<String> findPermissionsByRoleId(List<Integer> roleIds);

}
